package com.yuju.roomStatus.dao.impl;

import com.yuju.roomStatus.dao.IRoomTypeStatusDao;
import com.yuju.roomStatus.dao.mapper.RoomStatusMapper;
import com.yuju.roomStatus.dao.mapper.RoomTypeStatusMapper;
import com.yuju.roomStatus.model.RoomTypeStatusModel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class RoomTypeStatusDaoImpl implements IRoomTypeStatusDao{
    @Autowired
    private RoomTypeStatusMapper roomTypeStatusMapper;

    /*
    @Override
    public List<RoomTypeStatusModel> getNoOccupyRoomCount(RoomTypeStatusModel roomTypeStatusModel){
        return  roomTypeStatusMapper.getNoOccupyRoomCount(roomTypeStatusModel);
    }

    @Override
    public List<RoomTypeStatusModel> getReserveRoomCount(RoomTypeStatusModel roomTypeStatusModel){
        return roomTypeStatusMapper.getReserveRoomCount(roomTypeStatusModel);
    }*/

    @Override
    public List<RoomTypeStatusModel> getPirceBySchemeId(RoomTypeStatusModel roomTypeStatusModel){
        return roomTypeStatusMapper.getPirceBySchemeId(roomTypeStatusModel);
    }

    @Override
    public List<RoomTypeStatusModel> getReserveCount(RoomTypeStatusModel roomTypeStatusModel){
        return roomTypeStatusMapper.getReserveCount(roomTypeStatusModel);
    }
}
